package com.chenfan.process.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chenfan.process.entity.po.ProcessDetailPo;

import java.util.Collection;
import java.util.List;

/**
 * @author K
 * @date 2021/3/4
 */
public interface ProcessDetailService extends IService<ProcessDetailPo> {

    List<ProcessDetailPo> listApprovals(Collection<Long> approvalTemplateIdList);

    List<ProcessDetailPo> listUnProcessApproval(Long approvalId);

    List<ProcessDetailPo> listProcessDetail(ProcessDetailPo processDetailPo);

    List<ProcessDetailPo> listProcessDetailByApprovalId(Collection<Long> approvalIdList);

    List<ProcessDetailPo> listApproving(List<Long> approvalIdList);

    List<ProcessDetailPo> listGroupInitData(Long approvalTemplateId, List<Long> beforeList);
}
